package com.googlecode.smartbinding.framework.events;

import com.googlecode.smartbinding.framework.core.ValidationStatus;

import java.util.EventObject;

/**
 * ValidationStatus changed event.
 *
 * @author Iulian Dumitru
 */
public class ValidationStatusChangedEvent extends EventObject {

    private static final long serialVersionUID = 1L;
    private ValidationStatus validationStatus;

    public ValidationStatusChangedEvent(ValidationStatus source) {
        super(source);
        validationStatus = source;
    }

    public ValidationStatus getSource() {
        return validationStatus;
    }

}
